import { get,post } from '@/utils/request'
// 获取对话列表
export const getConversationList = (params: any) => {
    return get('/api/get-conversation-list',params)
}
// 清空对话列表
export const delConversationList = (params: any) => {
    return get('/api/del-conversation-list',params)
}
// 修改信息状态
// export const updConversation = (data: any) => {
//     return post('/api/del-conversation-list',data)
// }
// 获取留言列表
export const getLeaveWordList = () => {
    return get('/api/get-leaveword-list')
}
// 添加留言
export const addLeaveWord = (params: any) => {
    return post('/api/add-leaveword',params)
}
// 删除留言
export const delLeaveWord = (params: any) => {
    return post('/api/del-leaveword',params)
}